import request from '@/utils/request'

export const getBannerListApi = () => request.get('/banner/list')
// 更改flag
export const updateBannerFlagApi = (params) => request.post('/banner/updateFlag', params)
// 删除
export const deleteBannerItemApi = (bannerid) => request.get('/banner/delete', {
  params: {
    bannerid
  },
  loud: true
})
// 新增
export const postBannerItemApi = (params) => request.post('/banner/add', params)
